//REQUIRED CLASS
package project2;

import java.util.ArrayList;

import project1.*;

public class Query
{
	private SimplePredicate name;
	public Query(SimplePredicate name){
		this.name = name;
	}
	public String toString(){
		return name.toString().replaceAll("\\[|\\]", "")+"?";
	}
	public String getQueryName(){
		return this.name.getStringName();
	}
	public ArrayList<String>  getArg(){
		return this.name.getArgList();
	}
}
